package com.suse.lhw.hms.foodserver.domin;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.foodserver.domin
 * @ClassName: FFoodIfo
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/4/24 17:39
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/4/24 17:39
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class FFoodIfo {
    private Integer id;

    private String descroption;

    /**
     * 碳水化合物，每100g
     */
    private Double carbohydrate;

    /**
     * 蛋白质，每100g
     */
    private Double protein;

    /**
     * 脂肪，每100g
     */
    private Double fat;

    private String tag;

    private String ortherNutrient;

    private String spare1;

    private String spare2;

    private String spare3;

    public FFoodIfo(String ifodescroption, Double carbohydrate,
                    Double protein, Double fat, String tag, String ortherNutrient) {
        this.descroption = ifodescroption;
        this.carbohydrate = carbohydrate;
        this.protein = protein;
        this.fat = fat;
        this.tag = tag;
        this.ortherNutrient = ortherNutrient;
    }
}